home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4807 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  3.4 KB

  1. Path: ias_ppp0139.iamerica.net!72274.264
  2. From: 72274.264@compuserve.com (Sergey Kurtsev)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C, C++, or both..??
  5. Date: Wed, 31 Jan 1996 07:38:08 -0500
  6. Organization: Hello, all.
  7. Distribution: world and others
  8. Message-ID: <72274.264.56.001487A2@compuserve.com>
  9. References: <4ehif2$ljf@news.iconn.net> <4ehs8e$iok@flood.weeg.uiowa.edu>
  10. NNTP-Posting-Host: ias_ppp0139.iamerica.net
  11. X-Newsreader: Trumpet for Windows [Version 1.0 Rev B]
  12.  
  13. In <4ehif2$ljf@news.iconn.net>, thecrow@iconn.net (The Crow) writes:
  14. >>I am 17 years old, I have a rudimentary understanding of both C and C++ at 
  15. this >>point.(I know Pascal well) I want to really delve into something at 
  16. this point. >>My eventual goal is to either start my own software company, or 
  17. work for one as >>a programmer. Should I concentrate only on C++ for now, only 
  18. C for now, or >>both? Or does it not really matter? I have read up on C++ and 
  19. I really don't >>see much benefit from it. People have kept applications in 
  20. order (mostly) for >>years without 'object oriented' programming...and C seems 
  21. to be faster and much >>less of a pain.
  22. >>
  23. >>I have a few programs in mind were object orientation would be a more natural 
  24. >>way of going about the program (evolution similuations) but a lot of programs 
  25. >>don't really benefit from it at all.  The biggest improvements in C++ that I 
  26. >>can see at this point are COUT/CIN, the comments, and NEW and DELETE...the rest 
  27. >>just seems to make me type and think more.  Is it because I am just not used to 
  28. >>the idea yet or is it really more complicated? The thing I hate most is the way 
  29. >>member functions have to be outside of their class, totally counter intuitive 
  30. >>and makes things very hard to follow. 
  31. >>-- 
  32. >>The Crow - thecrow@iconn.net
  33. >>"It can't rain all the time"
  34. >>-Kryptology
  35. >>
  36.  
  37.  
  38.   When started OOPing, I thought it wouldn't be a great idea to use, just 
  39. because it is stupid. I understood that somehow people gain smth from this but 
  40. I didn't see anything profitable from this way of programming. Once I needed 
  41. to write a simple prog (w/graphics) which would use buttons, similar to one 
  42. Windows uses, w/the same behavior. I got really easy, but then I need to 
  43. handle space outside buttons - this required addition of one code line to 
  44. button handler - the call of "outerspace" handler. It could easily be done, 
  45. but then I thought about and it actually happened - I needed a good library 
  46. for building applications w/interface similar to TV, OWL and like this. I, 
  47. actually, can hardly imagine a way it can be done w/regular ways of spreading 
  48. code across the whole program, repeating code, spending time trying to figure 
  49. out why and what doesn't work. Of course, I have a last kind of problems in my 
  50. newly-programmed applications (with my OOP lib), but I can fix them very 
  51. quickly.
  52.   The result of all of this, is that I started developing of my own OOP 
  53. interface lib, only because TurboVision (SuperVision, and other 
  54. whateverVisions) was expensive for me (I'm a student). And I need to say - it 
  55. goes pretty fast. May be something is not so perfect as in Borland's Visions 
  56. but I'm satisfied.
  57.   Also OOP is useful when you programm big applications with complex data 
  58. structures' interfaces. I appriciate skills of person who can do this w/o OOP, 
  59. but it is easier to do it OOP way, so why should we invent a wheel again and 
  60. again ?
  61.  
  62.   Good luck in studying Object-Oriented Programming,
  63.   Sergey.
  64.  
  65.